package com.dongnam.quanly.common.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.dongnam.quanly.common.model.enumtype.GioiTinh;

@Entity
@Table(name = "NguoiLienHe")
public class NguoiLienHe extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "IDNguoiLienHe")
	private Long id;

	@Column(name = "HoTen", length = 100)
	private String hoTen;

	@Column(name = "GioiTinh", length = 100)
	@Enumerated(EnumType.STRING)
	private GioiTinh gioiTinh;

	@Column(name = "ChucDanh", length = 100)
	private String chucDanh;

	@Column(name = "DiaChi", length = 200)
	private String diaChi;

	@Column(name = "SoCmnd", length = 100)
	private String soCMND;

	@Column(name = "NgayCapCmnd", length = 100)
	private Date ngayCapCMND;

	@Column(name = "NoiCapCmnd", length = 100)
	private String noiCapCMND;

	@Column(name = "Email", length = 100)
	private String email;

	@Column(name = "DienThoaiNha", length = 100)
	private String dienThoaiNha;

	@Column(name = "DienThoaiDiDong", length = 100)
	private String dienThoaiDiDong;

	public NguoiLienHe() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getHoTen() {
		return hoTen;
	}

	public void setHoTen(String hoTen) {
		this.hoTen = hoTen;
	}

	public GioiTinh getGioiTinh() {
		return gioiTinh;
	}

	public void setGioiTinh(GioiTinh gioiTinh) {
		this.gioiTinh = gioiTinh;
	}

	public String getChucDanh() {
		return chucDanh;
	}

	public void setChucDanh(String chucDanh) {
		this.chucDanh = chucDanh;
	}

	public String getDiaChi() {
		return diaChi;
	}

	public void setDiaChi(String diaChi) {
		this.diaChi = diaChi;
	}

	public String getSoCMND() {
		return soCMND;
	}

	public void setSoCMND(String soCMND) {
		this.soCMND = soCMND;
	}

	public Date getNgayCapCMND() {
		return ngayCapCMND;
	}

	public void setNgayCapCMND(Date ngayCapCMND) {
		this.ngayCapCMND = ngayCapCMND;
	}

	public String getNoiCapCMND() {
		return noiCapCMND;
	}

	public void setNoiCapCMND(String noiCapCMND) {
		this.noiCapCMND = noiCapCMND;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getDienThoaiNha() {
		return dienThoaiNha;
	}

	public void setDienThoaiNha(String dienThoaiNha) {
		this.dienThoaiNha = dienThoaiNha;
	}

	public String getDienThoaiDiDong() {
		return dienThoaiDiDong;
	}

	public void setDienThoaiDiDong(String dienThoaiDiDong) {
		this.dienThoaiDiDong = dienThoaiDiDong;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

}
